//批量显示控件(dom显示控件所在dom,kjs控件名数组)
function kj_plxs(dom,kjs){
    kjs.forEach(kj => {
        dom.getControlByName(kj).setVisible(true);
    });
}
//批量隐藏控件(dom隐藏控件所在dom,kjs控件名数组)
function kj_plyc(dom,kjs){
    kjs.forEach(kj => {
        dom.getControlByName(kj).setVisible(false);
    });
}
//控件批量设置禁用状态(dom控件所在dom,kjs控件名数组,disabled是否设置禁用状态)
function kj_plloading(dom,kjs,disabled){
    kjs.forEach(kj => {
        dom.getControlByName(kj).setDisabled(disabled);
    });
}
//控件批量设置必填
function kj_plbt(dom,kjs){
    kjs.forEach(kj => {
        dom.getControlByName(kj).setRequired(true);
    });
}
//控件批量取消必填
function kj_plqxbt(dom,kjs){
    kjs.forEach(kj => {
        dom.getControlByName(kj).setRequired(false);
    });
}